/* 表格行专用，覆盖 Element/Bootstrap 默认背景 */


/* 1. 明显反差灰度 */
.row-gray-50 { background-color: #f2f2f2 !important; }
.row-white { background-color: #ffffff !important; }
/* 2. 关闭 Element 自带的淡入淡出，避免视觉拖影 */
.el-table__row > td { transition: background-color 0s !important; }
/* ========== 状态高亮（整行） ========== */
.el-table__row:hover > td.row-gray-50 { background-color: #c9c9c9 !important; } /* 深 20% */
.el-table__row:hover > td.row-white { background-color: #e6e6e6 !important; }   /* 浅灰 15% */

.el-table__row.row-success > td {
  background-color: var(--c-success-50, #d4f7d4) !important;
}
.el-table__row.row-primary > td {
  background-color: var(--c-info-50, #d4e6f7) !important;
}

/* ========== 奇偶纹（只在无状态时生效） ========== */
.el-table__row.bg-gray-50:not(.row-success):not(.row-primary) > td {
  background-color: #fafafa !important;
}
.el-table__row.bg-white:not(.row-success):not(.row-primary) > td {
  background-color: #ffffff !important;
}

/* ========== hover（状态行也一起变） ========== */
.el-table__row:hover > td {
  transition: background-color 0.2s;
  filter: brightness(0.95);   /* 统一加深，无需单独写两行 */
}

